<?php
namespace core\lib;
use core\lib\conf;
class Log
{
	static $class;
	/**
	 * 1.确定日志存储方式
	 * 2.写日志
	 * @return [type] [description]
	 */
	public static function init()
	{
		//确定日志存储方式
		$drive = Conf::get('drive','log');
		$class = '\core\lib\drive\log'.'\\'.$drive;
		self::$class = new $class;
	}
	public static function log($name)
	{
		self::$class->
	}
}